@import "../../../both/mixin";

.p_card_cr.bln {
  position: absolute;
  right: 0;
  top: 0;
  width: 306px;
  padding-top: 40px;
  z-index : 10000;

  .p_card {
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2);
    padding: 24px;
    box-sizing: border-box;

    .top_hint {
      img.avatar {
        height: 76px;
        width: 76px;
        border-radius: 50%;
        vertical-align: middle;
      }


      div.card_record {
        display: inline-block;
        vertical-align: middle;
        margin-left: 12px;
      }

      div.user_name {
        font-size: 16px;
        color: #07111b;
        width: 170px;
        overflow: hidden;
      }

      a {
        color: #93999f;
        text-decoration: none;
        display: inline-block;

        &:visited, &:hover {
          text-decoration: none;
          color: #93999f;
        }
      }

      span.record_item {
        margin-right: 12px;
        display: inline-block;
        font-size: 12px;
      }

      span.bold {
        font-weight: bold;
      }
    }

    .user_nav{
      margin-top : 16px;
      margin-bottom: 14px;


      @include cf("ul.nav_item");
      ul.nav_item{
        list-style: none;

        a{
          text-decoration: none;
          width : 128px;
          color: #787d82;
          float : left;
          height: 36px;
          line-height: 36px;
          text-align: left;
          box-sizing: border-box;
          background: #f3f5f7;
          margin-right : 2px;
          margin-bottom : 2px;
          font-size : 12px;

          &:hover{
            background: #d9dde1;
            color: #4d555d;
          }
        }

        a:nth-child(2n){
          margin-right : 0;
        }

        li{
          text-align: left;
          padding-left : 12px;
        }

        i{
          &:after{
            content: "";
            margin-right: 8px;
          }
        }

      }
    }

    .user_logout{
      text-align: right;
      margin-top: 16px;
      padding-top : 16px;
      border-top : 1px solid #edf1f2;

      a{
        text-decoration: none;
        font-size : 12px;
        color: #787d82;
      }

    }

  }

}
